Creat path for an object to follow